package com.neusoft.crm.controller;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.neusoft.crm.mapper.OrdersMapper;
import com.neusoft.crm.po.Orders;
import com.neusoft.crm.service.OrdersService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.util.List;

@RestController
public class OrderesController {

    @Resource
    private OrdersMapper ordersMapper;

    @Resource
    private OrdersService ordersService;

    @RequestMapping("/selectAllOrdersBySysUserId")
    public List<Orders> selectAllOrdersBySysUserId(){
        return ordersService.selectAllOrdersBySysUserId();
    }
}
